
package com.loie.xcx.stockinterface;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;


/**
 * <a href="http://www.webxml.com.cn/" target="_blank">WebXml.com.cn</a> <strong>�й���Ʊ�������� WEB ����֧�����ں��Ϻ����е�ȫ������ծȯ�͹�Ʊ��</strong>�����ݼ�ʱ���¡����GIF��ʱ����ͼ����/��/�� K ��ͼ����ʱ�������ݣ���Ʊ���ơ�����ʱ�䡢���¼ۡ������̡����̡��ǵ����͡���ߡ��ǵ������ɽ������ɽ������ۡ������ۡ�ί�ȡ���һ - ���塢��һ - ���壩�����й���Ʊ�������� WEB �������Ϊ�û���ȡ��Ϣ֮Ŀ�ģ���������Ͷ�ʽ��顣<a href="http://www.webxml.com.cn/" target="_blank">WebXml.com.cn</a> ��/�������Ӧ�̲�Ϊ��ҳ���ṩ��Ϣ�Ĵ��󡢲�ȱ���ӳٻ�����������Ϣ����ȡ���κ��ж�����<strong>�г��з��գ�Ͷ�������</strong>��<br />���й���Ʊ��������Web Services�벻Ҫ�����κ���ҵĿ�ģ�������Ҫ��<a href="http://www.webxml.com.cn/zh_cn/contact_us.aspx" target="_blank">��ϵ����</a>����ӭ���������� QQ��8409035<br /><strong>ʹ�ñ�վ WEB ������ע�������ӱ�վ��http://www.webxml.com.cn/ ��л��ҵ�֧��</strong>��<br /><br /><span style="color:#D20000;"><strong>��Ʊ����ע������</strong>�����Ϻ���Ʊ�����ڹ�Ʊ�ڴ��������ص��������������Ϻ���Ʊ���ڴ���ǰ�� SH�����ڼ� SZ�������ִ�Сд����������ָ֤�� sh000001���չA sz000001���粻�����Ʊ����Ĭ����ָ֤�� sh000001</span><br /><br />&nbsp;
 * 
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.9-b130926.1035
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "ChinaStockWebService", targetNamespace = "http://WebXml.com.cn/", wsdlLocation = "http://ws.webxml.com.cn/WebServices/ChinaStockWebService.asmx?wsdl")
public class ChinaStockWebService
    extends Service
{

    private final static URL CHINASTOCKWEBSERVICE_WSDL_LOCATION;
    private final static WebServiceException CHINASTOCKWEBSERVICE_EXCEPTION;
    private final static QName CHINASTOCKWEBSERVICE_QNAME = new QName("http://WebXml.com.cn/", "ChinaStockWebService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("http://ws.webxml.com.cn/WebServices/ChinaStockWebService.asmx?wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        CHINASTOCKWEBSERVICE_WSDL_LOCATION = url;
        CHINASTOCKWEBSERVICE_EXCEPTION = e;
    }

    public ChinaStockWebService() {
        super(__getWsdlLocation(), CHINASTOCKWEBSERVICE_QNAME);
    }

    public ChinaStockWebService(WebServiceFeature... features) {
        super(__getWsdlLocation(), CHINASTOCKWEBSERVICE_QNAME, features);
    }

    public ChinaStockWebService(URL wsdlLocation) {
        super(wsdlLocation, CHINASTOCKWEBSERVICE_QNAME);
    }

    public ChinaStockWebService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, CHINASTOCKWEBSERVICE_QNAME, features);
    }

    public ChinaStockWebService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public ChinaStockWebService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     * 
     * @return
     *     returns ChinaStockWebServiceSoap
     */
    @WebEndpoint(name = "ChinaStockWebServiceSoap")
    public ChinaStockWebServiceSoap getChinaStockWebServiceSoap() {
        return super.getPort(new QName("http://WebXml.com.cn/", "ChinaStockWebServiceSoap"), ChinaStockWebServiceSoap.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
     * @return
     *     returns ChinaStockWebServiceSoap
     */
    @WebEndpoint(name = "ChinaStockWebServiceSoap")
    public ChinaStockWebServiceSoap getChinaStockWebServiceSoap(WebServiceFeature... features) {
        return super.getPort(new QName("http://WebXml.com.cn/", "ChinaStockWebServiceSoap"), ChinaStockWebServiceSoap.class, features);
    }

    private static URL __getWsdlLocation() {
        if (CHINASTOCKWEBSERVICE_EXCEPTION!= null) {
            throw CHINASTOCKWEBSERVICE_EXCEPTION;
        }
        return CHINASTOCKWEBSERVICE_WSDL_LOCATION;
    }

}
